package org.jeecg.modules.operations.assistant.xcbd.service;

import com.baomidou.mybatisplus.extension.toolkit.SqlHelper;
import org.jeecg.modules.operations.assistant.xcbd.entity.XcbdCollectionRecord;
import org.jeecg.modules.operations.assistant.xcbd.entity.XcbdWorkflow;
import org.jeecg.modules.operations.assistant.xcbd.entity.XcbdSalesContract;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.operations.assistant.xcbd.entity.YearCountInfo;
import org.springframework.beans.factory.annotation.Autowired;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 销售合同
 * @Author: jeecg-boot
 * @Date:   2024-12-21
 * @Version: V1.0
 */
public interface IXcbdSalesContractService extends IService<XcbdSalesContract> {

	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);

	public void saveSalesContract(XcbdSalesContract salesContract);

	public List<YearCountInfo> getYearCountInfo();
	public List<YearCountInfo> getMonthCountInfo();
	public List<YearCountInfo> getWeekCountInfo();

	public XcbdSalesContract getSalesContractInfo(String orderNumber);
}
